package com.service;

import com.bean.Goods;

import java.util.List;

public interface GoodsService {

    List<Goods> queryGoods();

    List<Goods> queryGoodsByNmae(String goodsname);

    int updateGoodsById(Goods goods);

    int addGoods(Goods goods);

    int deleteGoods(int id);

}
